package com.thb.pay.agent.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thb.pay.db.entity.SuperEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 代理商-通道表
 * </p>
 *
 * @author lucky
 * @since 2019-07-21
 */
@Data
@Accessors(chain = true)
@TableName("agent_passage")
public class AgentPassage extends SuperEntity<AgentPassage> {

    private static final long serialVersionUID = 1L;

    /**
     * 代理商ID
     */
    private Long agentId;

    /**
     * 产品ID
     */
    private Long productId;

    /**
     * 代理商费率,百分比
     */
    private BigDecimal agentRate;

    /**
     * 状态,0-关闭,1-开启
     */
    private Integer status;
}
